package com.edais.service;

import java.util.Map;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

@Service

public interface SecurityService {

	/**
	 * 获取用户的登录识别码
	 * @param map
	 * @return String
	 * @throws Exception 
	 */
	public String getLoginTokenStr(Map<String,String> map) throws Exception;
	
	/**
	 * 登录时更新用户的登录识别码
	 * @param map
	 * @return String
	 * @throws Exception 
	 */
//	public void updLoginTokenStr(Map<String,Object> map) throws Exception;
	
	/**
	 * 退出时更新用户的登录识别码
	 * @param map
	 * @return String
	 * @throws Exception 
	 */
	public void updExitTokenStr(Map<String,String> map) throws Exception;
}
